{include file="public/tpl/head.html" /}
<body>
    <div>
        <form action="/TeCenter/index/project/form.html" method="post" class="log_form">
            <p>
                <label>标题</label>
                <input type="hidden" name="dataid" value="Plogs">
                <input type="hidden" name="pro_code" value="{$logs.pro_code}">
                <input type="text" name="title" value="{$logs.title|default=""}" required="required">
                {if condition="isset($logs.log_no)"}
                    <input type="hidden" name="pk" value="{$logs.log_no}">   
                {/if}
            </p>
            <p>
                <label>节点</label>
                <input type="text" name="node_desc" required="required">
            </p>
            <p>
                <label>工时</label>
                <input type="text" name="spend_hours" value="{$logs.spend_hours|default=""}" required="required">
            </p>
            <p>
                <label>关键字</label>
                <input type="text" name="key_words" value="{$logs.key_words|default=""}" required="required">
            </p>            
            <p>
                <label>内容</label>
                <br>
                <textarea name="content" required="required">{$logs.content|default=""}</textarea>
            </p>
            <p>
                <input type="submit" value="提交">
            </p>
        </form>
    </div>
</body>
</html>